import React, { useState } from 'react'
import logo from './logo.svg'
import './App.css'
import { a } from '@/tools'
const Lazyc = React.lazy(() => import('./components/lazyComp'))
console.log(a)

function App() {
  return (
    <div className="App">
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
        <p>Hello Vite + React</p>
      </header>
      <div>
        <React.Suspense fallback={<div>loading....</div>}>
          <Lazyc></Lazyc>
        </React.Suspense>
      </div>
    </div>
  )
}

export default App
